package com.wolfword.crawler.server.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author Server Zhang
 * @date 2018-01-11 10:54:52
 */
public class ClientLogEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	// 唯一ID
	private Long id;
	//
	private String clientName;
	//
	private String clientIp;
	//
	private Integer clientPort;
	//客户端状态：0断开，1待机，2工作中
	private Integer clientStatus;
	//创建时间
	private Date createTime;
	//更新时间
	private Date updateTime;

	
	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	/**
	 * 获取：唯一ID
	 * 
	 * @return id 唯一ID
	 */
	public Long getId() {
		return id;
	}

	/**
	 * 设置：唯一ID
	 * 
	 * @param id
	 *            唯一ID
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * 获取：
	 * 
	 * @return clientName
	 */
	public String getClientName() {
		return clientName;
	}

	/**
	 * 设置：
	 * 
	 * @param clientName
	 */
	public void setClientName(String clientName) {
		this.clientName = clientName;
	}

	/**
	 * 获取：
	 * 
	 * @return clientIp
	 */
	public String getClientIp() {
		return clientIp;
	}

	/**
	 * 设置：
	 * 
	 * @param clientIp
	 */
	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	/**
	 * 获取：
	 * 
	 * @return clientPort
	 */
	public Integer getClientPort() {
		return clientPort;
	}

	/**
	 * 设置：
	 * 
	 * @param clientPort
	 */
	public void setClientPort(Integer clientPort) {
		this.clientPort = clientPort;
	}

	/**
	 * 获取：
	 * 
	 * @return clientStatus
	 */
	public Integer getClientStatus() {
		return clientStatus;
	}

	/**
	 * 设置：
	 * 
	 * @param clientStatus
	 */
	public void setClientStatus(Integer clientStatus) {
		this.clientStatus = clientStatus;
	}

	/**
	 * 获取：
	 * 
	 * @return createTime
	 */
	public Date getCreateTime() {
		return createTime;
	}

	/**
	 * 设置：
	 * 
	 * @param createTime
	 */
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	public String toString() {
		return "RequestLogEntity{" + "id=" + id + ", clientName=" + clientName
				+ ", clientIp=" + clientIp + ", clientPort=" + clientPort
				+ ", clientStatus=" + clientStatus + ", createTime="
				+ createTime + '}';
	}
}
